package com.wyh.domain.dto.feemanagementdto;

import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BillDTO implements Serializable {

    @ApiModelProperty(value = "账单id")
    private Integer id;

    @ApiModelProperty(value = "收款方")
    private String payee;

    @ApiModelProperty(value = "账单编号")
    private Integer billnumber;

    @ApiModelProperty(value = "通知状态")
    private Integer notificationstatus;

    @ApiModelProperty(value = "欠费状态")
    private Integer arrearsstatus;

    @ApiModelProperty(value = "数据库账期")
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private String accounttime;

    @ApiModelProperty(value = "应收金额")
    private BigDecimal receivable;

    @ApiModelProperty(value = "欠费金额")
    private BigDecimal arrears;

    @ApiModelProperty(value = "楼盘名称")
    private String propertyname;

    @ApiModelProperty(value = "客户名称")
    private String customername;

    @ApiModelProperty(value = "客户id")
    private Integer customerid;

}
